# -*- coding: utf-8 -*-

from __future__ import absolute_import

from PyQt4.QtGui import QStatusBar


class StatusBar(QStatusBar):

    __instance = None

    def __new__(cls, *args, **kargs):
        if cls.__instance is None:
            cls.__instance = QStatusBar.__new__(cls, args, kargs)
        return cls.__instance

    def __init__(self):
        QStatusBar.__init__(self)
